# -*- coding: utf-8 -*-
# @Time    : 2020/8/24 上午11:58
# @Author  : lilong


"""
nlu、core训练结束后，启动server服务
"""

import rasa.run

# model = "../bot_playground/bot_tiny/models/nlu/nlu-20210807-163219/nlu"
# model = "../bot_playground/bot_tiny/models/nlu"

model = "../bot_playground/bot_tiny/models/core/core-20210816-012717.tar.gz"
endpoints = "../bot_playground/bot_tiny/endpoints.yml"

rasa.run(model=model, endpoints=endpoints)